from telnetlib import DO
from manimlib import *
from numpy import flip, insert
import math

LV, QL, QH, JH = '#75cfb8', '#bbdfc8', '#f0e5d8', '#ffc478'


class p1(Scene):
    def construct(self):
        # self.camera.frame.save_state()
        # self.add(NumberPlane())
        # self.camera.frame.rotate(13*DEGREES,about_point=[0.0, 0.0, 1.0])
        l = NumberLine(
            x_range=[0, 10, 1],
            length=7,
            include_numbers=True,
            label_direction=UP,
        ).set_color(BLACK)
        ball=Circle(0.1).set_fill(LV,1).shift(LEFT*4*0.7)
        self.add(l,ball,
                 Tex('v=1m/s').next_to(ball,DOWN)
                 )
        self.wait()
